home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Adobe Graphics & Publishing SDK 1996 December
/
Adobe Graphics & Publishing SDK 1996 December.iso
/
mac
/
Illustrator 6.0 SDK r1 Mac
/
AI Plugin Interface
/
AIBlock.h
< prev
next >
Wrap
Text File
|
1995-12-21
|
1KB
|
80 lines
/**
AIBlock.h
Copyright (c) 1995 Adobe Systems Incorporated.
All Rights Reserved
Adobe Illustrator 6.0 Memory Management Suite.
**/
#ifndef __AIBlock__
#define __AIBlock__
/*******************************************************************************
**
** Imports
**
**/
#include "AITypes.h"
#if Macintosh
#ifdef __cplusplus
extern "C" {
#endif
#if PRAGMA_ALIGN_SUPPORTED
#pragma options align=mac68k
#endif
#if PRAGMA_IMPORT_SUPPORTED
#pragma import on
#endif
#endif
/*******************************************************************************
**
** Constants
**
**/
#define kAIBlockSuite "AI Block Suite"
#define kAIBlockVersion 2
/*******************************************************************************
**
** Suite
**
**/
typedef struct {
MACPASCAL FXErr (*AllocateBlock) ( long size, void **block );
MACPASCAL FXErr (*DisposeBlock) ( void *block );
MACPASCAL FXErr (*ReallocateBlock) ( void *block, long newSize, void **newBlock );
MACPASCAL FXErr (*SizeOfMemoryBlock) ( void *block, long *size );
} AIBlockSuite;
#if Macintosh
#if PRAGMA_IMPORT_SUPPORTED
#pragma import off
#endif
#if PRAGMA_ALIGN_SUPPORTED
#pragma options align=reset
#endif
#ifdef __cplusplus
}
#endif
#endif
#endif